const express = require('express');

const router = express.Router();

const { addParagraph,getParagraphs,deleteParagraph,editParagraph} = require('../controller/paragraphCtr')

//增加
router.post('/create',addParagraph)
//查询
router.get('/query',getParagraphs)
//删除
router.get('/del',deleteParagraph)
//编辑
router.post('/edit',editParagraph)


module.exports = router;